#ifndef BALANCER_H
#define BALANCER_H

#ifndef FACILITY_DEFINE_H
#include "Facility_Define.h"
#endif

#ifndef FACILITY_H
#include "Facility.h"
#endif

class Balancer_Define:public FacilityDefine{
public:
    Balancer_Define(double process_speed,int group_idx = 0);
};

class Balancer:public Facility
{
    int choose = 0;
public:
    Balancer(FacilityDefine *define, FacilityDirection f_dir, Coordinate coordinate, Cargo_Manager * cargo_manager);
    virtual void finishProcess();
    // 只要有一个是 空
    virtual bool outEmpty();
    // 只要有一个是 不是空
    virtual bool inEmpty();
};

#endif // BALANCER_H
